.TH std::shared_mutex::unlock_shared 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::shared_mutex::unlock_shared \- std::shared_mutex::unlock_shared

.SH Synopsis
   void unlock_shared();  \fI(since C++17)\fP

   Releases the mutex from shared ownership by the calling thread.

   The mutex must be locked by the current thread of execution in shared mode,
   otherwise, the behavior is undefined.

   This operation synchronizes-with (as defined in std::memory_order) any subsequent
   lock() operation that obtains ownership of the same mutex.

.SH Parameters

   \fI(none)\fP

.SH Return value

   \fI(none)\fP

.SH Exceptions

   Throws nothing.

.SH Notes

   unlock_shared() is usually not called directly: std::shared_lock is used to manage
   shared locking.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

               locks the mutex for shared ownership, blocks if the mutex is not
   lock_shared available
               \fI(public member function)\fP
   unlock      unlocks the mutex
               \fI(public member function)\fP

.SH Category:
     * Todo no example
